home *** CD-ROM | disk | FTP | other *** search
/ The Fatted Calf / The Fatted Calf.iso / Applications / Astronomy / Moon / Source / proto.h < prev    next >
C/C++ Source or Header  |  1993-01-19  |  828b  |  26 lines

  1. /* proto.h
  2.  * Part of the Moon application for the NeXT computer.
  3.  * Author:  Geoffrey S. Knauth
  4.  * Date:    January 4, 1992
  5.  *
  6.  * Permission to copy this program is hereby granted under the terms
  7.  * of the Free Software Foundation's GNU General Public License.
  8.  */
  9.  
  10. /* from astro.c */
  11. double jdtophase(double pdate, double *pphase, double *mage, double *dist,
  12.          double *angdia, double *sudist, double *suangdia);
  13. void phasehunt(double sdate, double phases[5]);
  14.  
  15. /* from julian.c */
  16. double jtime(struct tm *t);
  17. void jyear(double td, int *yy, int *mm, int *dd);
  18. void jhms(double j, int *h, int *m, int *s);
  19. double ymdhmsToJtime
  20.     (int year, int month, int day,
  21.      int hour, int minute, int second);
  22.  
  23. /* from shadow.c */
  24. void DrawMoonShadow(float phase, NXPoint *center,
  25.             float xradius, float yradius, int shadowColor);
  26.